package com.contract.pojo.input;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * 用户查询入参
 *
 * @author liw
 * @version 1.0
 * @date 2022/6/30 11:15
 */
@Data
public class ContractInvalidInput implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "主键")
    @NotNull
    private Long id;

    @ApiModelProperty(value = "主键")
    @NotNull
    private Long userId;

    @ApiModelProperty(value = "失效原因")
    @NotNull
    private String invalidReason;

    @ApiModelProperty(value = "失效时间")
    @NotNull
    private LocalDate invalidDate;

}
